#ifndef VIDEORESPONSETOSERVER_H
#define VIDEORESPONSETOSERVER_H

#include "./entities/message/superClass/message.h"

class VideoResponseToServer : public Message
{
public:
    VideoResponseToServer() = delete;

    VideoResponseToServer(const UserId& responseUserId, const FriendId& requestUserId,
                          const Status& status, const Ip& responseUserIp);
    VideoResponseToServer(const QJsonObject&);
    QJsonObject PackJsonData() const override;
    UserId getResponseUserId() const;
    FriendId getRequestUserId() const;
    Status getStatus() const;
    Ip getResponseUserIp() const;

private:
    UserId m_responseUserId;
    FriendId m_requestUserId;
    Status m_status;
    Ip m_responseUserIp;

};

// 编译时注册
Q_DECLARE_METATYPE(VideoResponseToServer)

#endif // VIDEORESPONSETOSERVER_H
